{{for(var i=0;i<it.length;i++){}}
<div class="row_one relative">
    <img class="fit_img" src="{{=it[i].img}}" alt="" onclick="location.href='{{=it[i].url}}'">
    <div class="bg_white padding_10">
        <div class="font_16" onclick="location.href='{{=it[i].url}}'">{{=it[i].title}}</div>
        <div class="">
            <span class="warning">{{=it[i].price}}元/{{=it[i].unit}}</span>

            <span class="linethrough text_info">{{if(it[i].o_price){}} {{=it[i].o_price}} {{}}}</span>

            <div class="text_info"> {{if(it[i].nums <= 0){}} <span style="color:red">产品已售罄</span> {{}else{}}库存: {{=it[i].nums}} {{}}}</div>
        </div>
    </div>
    <i class="addcart iconfont icon-iconfontaddcart-copy mx_green font_20" onclick="cart({{=i}})"></i>
</div>
{{}}}